package com.itheima.classloader;

import java.io.IOException;
import java.util.Properties;

public class Demo02 {

    public static void main(String[] args) throws IOException {

       Properties properties = new Properties();
        /* //new FileInputStream("")
        properties.load(new FileReader("day17\\prop\\student.properties"));

        System.out.println(properties);*/
       properties.load(ClassLoader.getSystemClassLoader().getResourceAsStream("student.properties"));
        System.out.println(properties);
    }
}
